real time example of encapsulation